package com.lk.ii.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lk.common.annotation.Excel;
import com.lk.common.core.domain.BaseEntity;

/**
 * 推荐位详情对象 ii_recommend_material
 * 
 * @author lk
 * @date 2021-02-05
 */
public class IiRecommendMaterial extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 推荐位ID */
    @Excel(name = "推荐位ID")
    private Long recommendId;

    /** 推荐对象ID */
    @Excel(name = "推荐对象ID")
    private Long objectId;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sort;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRecommendId(Long recommendId)
    {
        this.recommendId = recommendId;
    }

    public Long getRecommendId()
    {
        return recommendId;
    }
    public void setObjectId(Long objectId) 
    {
        this.objectId = objectId;
    }

    public Long getObjectId() 
    {
        return objectId;
    }
    public void setSort(Integer sort) 
    {
        this.sort = sort;
    }

    public Integer getSort() 
    {
        return sort;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("recomendId", getRecommendId())
            .append("objectId", getObjectId())
            .append("sort", getSort())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
